Optimal. Leaf size=76 \[ \frac {2}{27 c^2 \sqrt {c+d x^3}}+\frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{3 \sqrt {c}}\right )}{324 c^{5/2}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{\sqrt {c}}\right )}{12 c^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {457, 87, 162,
65, 214, 212} \begin {gather*} \frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{3 \sqrt {c}}\right )}{324 c^{5/2}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{\sqrt {c}}\right )}{12 c^{5/2}}+\frac {2}{27 c^2 \sqrt {c+d x^3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 87
Rule 162
Rule 212
Rule 214
Rule 457
Rubi steps
\begin {align*} \int \frac {1}{x \left (8 c-d x^3\right ) \left (c+d x^3\right )^{3/2}} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{x (8 c-d x) (c+d x)^{3/2}} \, dx,x,x^3\right )\\ &=\frac {2}{27 c^2 \sqrt {c+d x^3}}-\frac {\text {Subst}\left (\int \frac {-9 c d+d^2 x}{x (8 c-d x) \sqrt {c+d x}} \, dx,x,x^3\right )}{27 c^2 d}\\ &=\frac {2}{27 c^2 \sqrt {c+d x^3}}+\frac {\text {Subst}\left (\int \frac {1}{x \sqrt {c+d x}} \, dx,x,x^3\right )}{24 c^2}+\frac {d \text {Subst}\left (\int \frac {1}{(8 c-d x) \sqrt {c+d x}} \, dx,x,x^3\right )}{216 c^2}\\ &=\frac {2}{27 c^2 \sqrt {c+d x^3}}+\frac {\text {Subst}\left (\int \frac {1}{9 c-x^2} \, dx,x,\sqrt {c+d x^3}\right )}{108 c^2}+\frac {\text {Subst}\left (\int \frac {1}{-\frac {c}{d}+\frac {x^2}{d}} \, dx,x,\sqrt {c+d x^3}\right )}{12 c^2 d}\\ &=\frac {2}{27 c^2 \sqrt {c+d x^3}}+\frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{3 \sqrt {c}}\right )}{324 c^{5/2}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{\sqrt {c}}\right )}{12 c^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 69, normalized size = 0.91 \begin {gather*} \frac {\frac {24 \sqrt {c}}{\sqrt {c+d x^3}}+\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{3 \sqrt {c}}\right )-27 \tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{\sqrt {c}}\right )}{324 c^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.39, size = 485, normalized size = 6.38
method | result | size |
default | \(-\frac {d \left (\frac {2}{27 d c \sqrt {\left (x^{3}+\frac {c}{d}\right ) d}}+\frac {i \sqrt {2}\, \left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (d \,\textit {\_Z}^{3}-8 c \right )}{\sum }\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {2}\, \sqrt {\frac {i d \left (2 x +\frac {-i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}+\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{\left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {d \left (x -\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{-3 \left (-c \,d^{2}\right )^{\frac {1}{3}}+i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \sqrt {-\frac {i d \left (2 x +\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}+\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{2 \left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \left (i \left (-c \,d^{2}\right )^{\frac {1}{3}} \underline {\hspace {1.25 ex}}\alpha \sqrt {3}\, d -i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {2}{3}}+2 \underline {\hspace {1.25 ex}}\alpha ^{2} d^{2}-\left (-c \,d^{2}\right )^{\frac {1}{3}} \underline {\hspace {1.25 ex}}\alpha d -\left (-c \,d^{2}\right )^{\frac {2}{3}}\right ) \EllipticPi \left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}-\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}\right ) \sqrt {3}\, d}{\left (-c \,d^{2}\right )^{\frac {1}{3}}}}}{3}, -\frac {2 i \left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {3}\, \underline {\hspace {1.25 ex}}\alpha ^{2} d -i \left (-c \,d^{2}\right )^{\frac {2}{3}} \sqrt {3}\, \underline {\hspace {1.25 ex}}\alpha +i \sqrt {3}\, c d -3 \left (-c \,d^{2}\right )^{\frac {2}{3}} \underline {\hspace {1.25 ex}}\alpha -3 c d}{18 d c}, \sqrt {\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{d \left (-\frac {3 \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}+\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}\right )}}\right )}{2 \sqrt {d \,x^{3}+c}}\right )}{243 d^{3} c^{2}}\right )}{8 c}+\frac {\frac {2}{3 c \sqrt {\left (x^{3}+\frac {c}{d}\right ) d}}-\frac {2 \arctanh \left (\frac {\sqrt {d \,x^{3}+c}}{\sqrt {c}}\right )}{3 c^{\frac {3}{2}}}}{8 c}\) | \(485\) |
elliptic | \(\text {Expression too large to display}\) | \(1526\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.19, size = 213, normalized size = 2.80 \begin {gather*} \left [\frac {{\left (d x^{3} + c\right )} \sqrt {c} \log \left (\frac {d x^{3} + 6 \, \sqrt {d x^{3} + c} \sqrt {c} + 10 \, c}{d x^{3} - 8 \, c}\right ) + 27 \, {\left (d x^{3} + c\right )} \sqrt {c} \log \left (\frac {d x^{3} - 2 \, \sqrt {d x^{3} + c} \sqrt {c} + 2 \, c}{x^{3}}\right ) + 48 \, \sqrt {d x^{3} + c} c}{648 \, {\left (c^{3} d x^{3} + c^{4}\right )}}, \frac {27 \, {\left (d x^{3} + c\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {d x^{3} + c} \sqrt {-c}}{c}\right ) - {\left (d x^{3} + c\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {d x^{3} + c} \sqrt {-c}}{3 \, c}\right ) + 24 \, \sqrt {d x^{3} + c} c}{324 \, {\left (c^{3} d x^{3} + c^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 6.20, size = 78, normalized size = 1.03 \begin {gather*} \frac {2}{27 c^{2} \sqrt {c + d x^{3}}} - \frac {\operatorname {atan}{\left (\frac {\sqrt {c + d x^{3}}}{3 \sqrt {- c}} \right )}}{324 c^{2} \sqrt {- c}} + \frac {\operatorname {atan}{\left (\frac {\sqrt {c + d x^{3}}}{\sqrt {- c}} \right )}}{12 c^{2} \sqrt {- c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.90, size = 68, normalized size = 0.89 \begin {gather*} \frac {\arctan \left (\frac {\sqrt {d x^{3} + c}}{\sqrt {-c}}\right )}{12 \, \sqrt {-c} c^{2}} - \frac {\arctan \left (\frac {\sqrt {d x^{3} + c}}{3 \, \sqrt {-c}}\right )}{324 \, \sqrt {-c} c^{2}} + \frac {2}{27 \, \sqrt {d x^{3} + c} c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.66, size = 68, normalized size = 0.89 \begin {gather*} \frac {2}{27\,c^2\,\sqrt {d\,x^3+c}}-\frac {\mathrm {atanh}\left (\frac {c^2\,\sqrt {d\,x^3+c}}{\sqrt {c^5}}\right )}{12\,\sqrt {c^5}}+\frac {\mathrm {atanh}\left (\frac {c^2\,\sqrt {d\,x^3+c}}{3\,\sqrt {c^5}}\right )}{324\,\sqrt {c^5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________